package com.zhanghs.contentcenter.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zhanghongshan
 * @date 2021/9/19 4:47 下午
 */
@FeignClient(name = "user-center")
public interface UserFeignClient {

    @GetMapping("/api/user/{id}")
    String user(@PathVariable("id")String id);
}
